package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;

import java.util.List;

public class CircleBo implements BaseEntity{


    /**
     * post_id : 6299
     * post_type : 1
     * created_at : 1525658897
     * post_content : 面对面的么么哒慢慢玩
     * like_num : 1
     * post_files : [{"file_id":"Fq0bhcHE1kulZ8WMmyg_3pWddp-c","file_url":"http://p7g4ajv98.bkt.clouddn.com/1525658902251701.png","file_type":1}]
     * user_info : {"user_id":9,"username":"李智楠看看那你说那你","avatar":"http://p7g4ajv98.bkt.clouddn.com/FirMQpKi6zV7TuS1KlqffTzji-BJ"}
     * is_like : 0
     */

    private int post_id;
    private int post_type;
    private int created_at;
    private String post_content;
    private int like_num;
    private UserInfoBean user_info;
    private int is_like;
    private String image_url;

    public String getImage_url() {
        return image_url;
    }

    public void setImage_url(String image_url) {
        this.image_url = image_url;
    }

    private List<PostFilesBean> post_files;

    public int getPost_id() {
        return post_id;
    }

    public void setPost_id(int post_id) {
        this.post_id = post_id;
    }

    public int getPost_type() {
        return post_type;
    }

    public void setPost_type(int post_type) {
        this.post_type = post_type;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public String getPost_content() {
        return post_content;
    }

    public void setPost_content(String post_content) {
        this.post_content = post_content;
    }

    public int getLike_num() {
        return like_num;
    }

    public void setLike_num(int like_num) {
        this.like_num = like_num;
    }

    public UserInfoBean getUser_info() {
        return user_info;
    }

    public void setUser_info(UserInfoBean user_info) {
        this.user_info = user_info;
    }

    public int getIs_like() {
        return is_like;
    }

    public void setIs_like(int is_like) {
        this.is_like = is_like;
    }

    public List<PostFilesBean> getPost_files() {
        return post_files;
    }

    public void setPost_files(List<PostFilesBean> post_files) {
        this.post_files = post_files;
    }

    public static class UserInfoBean implements BaseEntity{
        /**
         * user_id : 9
         * username : 李智楠看看那你说那你
         * avatar : http://p7g4ajv98.bkt.clouddn.com/FirMQpKi6zV7TuS1KlqffTzji-BJ
         */

        private int user_id;
        private String username;
        private String avatar;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class PostFilesBean implements BaseEntity{
        /**
         * file_id : Fq0bhcHE1kulZ8WMmyg_3pWddp-c
         * file_url : http://p7g4ajv98.bkt.clouddn.com/1525658902251701.png
         * file_type : 1
         */

        private String file_id;
        private String file_url;
        private int file_type;

        public String getFile_id() {
            return file_id;
        }

        public void setFile_id(String file_id) {
            this.file_id = file_id;
        }

        public String getFile_url() {
            return file_url;
        }

        public void setFile_url(String file_url) {
            this.file_url = file_url;
        }

        public int getFile_type() {
            return file_type;
        }

        public void setFile_type(int file_type) {
            this.file_type = file_type;
        }
    }
}
